#include "Symbole.hpp"

Symbole::Symbole(string category) {
	this->category = category;
}

const string Symbole::getCategory() const {
	return this->category;
}

ostream& operator<<(ostream& os, const Symbole& symb)
{
   symb.print(os);
	return os;
}

/* Destructeur */
Symbole::~Symbole() {}

void Symbole::print(ostream& os) const{
  os << this->category;
}

string Symbole::toString() const
{
  stringstream oss;
  oss << this->category;
  return  oss.str();
}

